package com.project.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 预订记录：(BookingRecords)表实体类
 */
@TableName("`booking_records`")
@Data
@EqualsAndHashCode(callSuper = false)
public class BookingRecords implements Serializable {

    // BookingRecords编号
    @TableId(value = "booking_records_id", type = IdType.AUTO)
    private Integer booking_records_id;

    // 预订账号
    @TableField(value = "`booking_account`")
    private Integer booking_account;
    // 预订编号
    @TableField(value = "`booking_number`")
    private String booking_number;
    // 用户姓名
    @TableField(value = "`user_name`")
    private String user_name;
    // 身份证件
    @TableField(value = "`identity_documents`")
    private String identity_documents;
    // 用户性别
    @TableField(value = "`user_gender`")
    private String user_gender;
    // 用户电话
    @TableField(value = "`user_phone_number`")
    private String user_phone_number;
    // 路线名称
    @TableField(value = "`route_name`")
    private String route_name;
    // 路线编号
    @TableField(value = "`route_number`")
    private String route_number;
    // 单人费用
    @TableField(value = "`individual_expenses`")
    private String individual_expenses;
    // 预订人数
    @TableField(value = "`number_of_bookings`")
    private Integer number_of_bookings;
    // 总计金额
    @TableField(value = "`total_amount`")
    private String total_amount;
    // 预订时间
    @TableField(value = "`booking_time`")
    private Timestamp booking_time;
    // 预订备注
    @TableField(value = "`booking_remarks`")
    private String booking_remarks;


    // 审核状态
    @TableField(value = "examine_state")
    private String examine_state;

    // 支付状态
    @TableField(value = "pay_state")
    private String pay_state;

    // 支付类型: 微信、支付宝、网银
    @TableField(value = "pay_type")
    private String pay_type;


    // 审核回复
    @TableField(value = "examine_reply")
    private String examine_reply;


    // 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;


}
